class EffectSteamVent extends Emitter;

defaultproperties
{

     Begin Object Class=SpriteEmitter Name=SpriteEmitter0
         FadeIn=true
         FadeInEndTime=0.5
         FadeInFactor=(W=1,X=1,Y=1,Z=1)
         FadeOut=true
         FadeOutStartTime=1.5
         FadeOutFactor=(W=0.5,X=1,Y=1,Z=1)
         Opacity=0.1
         ColorMultiplierRange=(X=(Min=1,Max=1),Y=(Min=0.8,Max=1),Z=(Min=0.8,Max=1))
         RespawnDeadParticles=True
         SpinParticles=True
         UseSizeScale=True
         UseRegularSizeScale=False
         StartSizeRange=(X=(Min=16,Max=32),Y=(Min=16,Max=32),Z=(Min=16,Max=32))
         UniformSize=True
         AutomaticInitialSpawning=True
         MaxParticles=48
         SphereRadiusRange=(Min=0,Max=8)
         StartLocationShape=PTLS_Sphere
         UseRotationFrom=PTRS_Actor
         SpinsPerSecondRange=(X=(Max=0.100000))
         StartSpinRange=(X=(Max=1.000000))
         DrawStyle=PTDS_AlphaBlend
         Texture=Texture'Minigame.Environment.SmokePuff'
         LifetimeRange=(Min=0.7,Max=1.3)
         StartVelocityRadialRange=(Min=-10.000000,Max=10.000000)
         StartVelocityRange=(Z=(Min=96,Max=128))
         Acceleration=(Z=-256)
     End Object

     Emitters(1)=SpriteEmitter'Enyara.EffectSteamVent.SpriteEmitter0'

     AutoDestroy=False
     bNoDelete=False

}



simulated event Touch( Actor Other ) {

    local EnyaraPlayerController PC;
    PC = EnyaraPlayerController(Level.GetLocalPlayerController());

    //if (PC.DeathCountdown == false && Other == PC.Pawn) {
    //    PC.PlayerKill();
    //}

}

/*
class EffectSparkleTrail extends Emitter;

//#exec OBJ LOAD FILE=Enyara.utx

simulated function PostNetBeginPlay()
{
	Emitters[0].Texture = Texture'Engine.S_Emitter';
}

defaultproperties {

    Begin Object Class=SpriteEmitter Name=TrailEmitter1

        // Color
        //Opacity = 0.4
        ColorMultiplierRange=(X=(Min=0,Max=1),Y=(Min=0,Max=1),Z=(Min=0,Max=1))

        // Fading
        FadeIn=true
        FadeInEndTime=0.2
        FadeInFactor=(W=1,X=1,Y=1,Z=1)
        FadeOut=true
        FadeOutStartTime=1.0
        FadeOutFactor=(W=1,X=1,Y=1,Z=1)

        // General
        //MaxParticles=16

        // Location
        SphereRadiusRange=(Min=0,Max=32)
        StartLocationShape=PTLS_Sphere

        // Rotation

        // Size
        StartSizeRange=(X=(Min=16,Max=32),Y=(Min=16,Max=32),Z=(Min=16,Max=32))
        UniformSize=true

        // Sprite
        //ProjectionNormal=(X=0,Y=0,Z=1)
        //UseDirectionAs=PTDU_Normal

        // texture
        //DrawStyle=PTDS_AlphaBlend

        texture=Texture'Engine.S_Emitter'

        // Time
        //LifetimeRange=(Min=2,Max=3)

        // Velocity
        StartVelocityRange=(X=(Min=-32,Max=32),Y=(Min=-32,Max=32),Z=(Min=-32,Max=32))

        // Warmup ... so there's already fog when the level loads!
        //RelativeWarmupTime=3
        //WarmupTicksPerSecond=100

    End Object

    Emitters(0)=SpriteEmitter'Enyara.EffectSparkleTrail.TrailEmitter1'
    AutoDestroy=false

}
*/
